package com.zx.mes.hyl.service.impl;

import com.zx.mes.hyl.entity.Tuser;
import com.zx.mes.hyl.mapper.TuserMapper;
import com.zx.mes.hyl.service.TuserService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 华云龙
 * @since 2018-07-02
 */
@Service
public class TuserServiceImpl extends ServiceImpl<TuserMapper, Tuser> implements TuserService {

    @Override
    public List<Tuser> getUserAndRoleAndResource(String id) {
        return baseMapper.getUserAndRoleAndResource(id);
    }
}
